<template>
  <div>
    <router-view id="rootView"></router-view>
  </div>
</template>

<script>

export default {
  name: 'App',
  mounted() {
    this.inputHandle();
  }, methods: {
    inputHandle() {
      let inputs = document.getElementsByTagName("input");
      for (let i = 0; i < inputs.length; i++) {
        let item = inputs[i];
        item.addEventListener('blur', function () {
          setTimeout(function () {
            window.scrollTo(0, 0)
          }, 100)
        })
      }
    },

  }
}
</script>

<style>
@import "css/common.css";
</style>
